package com.jrx.anytxn.transaction.dto.loan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author lbw
 * @date 2024/05/08
 */
@ApiModel
public class CardLogOffReq implements Serializable {
    /**
     * 产品编号
     */
    @ApiModelProperty("产品编号")
    @NotBlank(message = "客户编号不能为空")
    private String ecifId;

    /**
     * 用户Id
     */
    @NotBlank(message = "用户Id不能为空")
    @ApiModelProperty(value = "用户Id")
    protected String userId;

    /**
     * 租户Id
     */
    @NotBlank(message = "租户Id不能为空")
    @ApiModelProperty(value = "租户Id")
    protected String tenantId;

    /**
     * 渠道号
     */
    @NotBlank(message = "渠道号不能为空")
    @ApiModelProperty(value = "渠道号")
    protected String channelNo;

    public String getEcifId() {
        return ecifId;
    }

    public void setEcifId(String ecifId) {
        this.ecifId = ecifId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }

    @Override
    public String toString() {
        return "CardLogOffReq{" +
                "ecifId='" + ecifId + '\'' +
                ", userId='" + userId + '\'' +
                ", tenantId='" + tenantId + '\'' +
                ", channelNo='" + channelNo + '\'' +
                '}';
    }
}
